This page last changed on Apr 22, 2008.
eDocs Home > BEA AquaLogic Data Services Platform Documentation > Data Services Developer's Guide > Contents Creating XMLBean Support for Java FunctionsBefore you can create a Physical Data Service from Java functions, you need to create a .class file that contains XMLBean classes based on global elements and compiled versions of your Java functions. This topic describes how to create XMLBean classes based on a schema of your data. Supported XMLBean StandardsImported Java functions containing complex types must have a schema that conforms to one of the following XMLBean standards:
If your Java routines were compiled under previous versions, they will need to be recompiled before they can be imported.
Creating XMLBean Classes for Java FunctionsThis topic describes how to create XMLBean classes based on a schema of your data. Creating a New ProjectYou need to create a new project to build the XMLBean classes. New ProjectTo create a new project:
New Java Project WizardEnabling XMLBeans BuilderYou need to enable the XMLBeans Builder in the project to allow it to create classes based on the Java source and XML schema files. Project PropertiesTo enable XMLBeans Builder:
Enabling XMLBeans BuilderImporting Schema and Java Source FilesYou need to import the schema files and Java source files into the project. To import the schema and Java source files:
Creating a Project ReferenceThe final step involves creating a reference to your XMLBeans-based project from the dataspace in which you want to use the Java functions. To create the project reference:
When your project is deployed, ALDSP does the following:
Project ReferencesSee AlsoHow TosReference |
Document generated by Confluence on Apr 28, 2008 15:54 |